//
//  PersonTopView.m
//  PlayShow
//
//  Created by hff on 2018/4/20.
//  Copyright © 2018年 threeTi. All rights reserved.
//

#import "PersonTopView.h"
#import "UIColor+Utils.h"
#import "AppMacro.h"

@implementation PersonTopView

-(void)awakeFromNib
{
    [super awakeFromNib];
    
    [self.userHead.layer setCornerRadius:30];
    [self.userHead.layer setMasksToBounds:YES];
    
    [_openBngView.layer setCornerRadius:_openBngView.frame.size.height/2];
    [_openBngView.layer setMasksToBounds:YES];
    [_openBngView.layer setBorderWidth:1.0];
    [_openBngView.layer setBorderColor:[UIColor colorForHex:PINK_COCOR].CGColor];
    
//    [_openBtn.layer setCornerRadius:_openBtn.frame.size.height/2];
//    [_openBtn.layer setMasksToBounds:YES];
//    [_openBtn.layer setBorderWidth:1.0];
//    [_openBtn.layer setBorderColor:[UIColor colorForHex:PINK_COCOR].CGColor];
    
//    [_openBtn setTitle:@"开通学籍\n 获取学分,攻读学位" forState:UIControlStateNormal];
//    [[_openBtn titleLabel] setNumberOfLines:0];
//    _openBtn.titleLabel.lineBreakMode = NSLineBreakByCharWrapping;
}

@end
